package com.ruoyi.bizsys.domain;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 创建paystack虚拟帐户流程对象 ext_paystack_cust_va_result
 *
 * @author african-loan
 * @date 2022-07-20
 */

@Data
public class ExtPaystackCustVaResult extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**状态0失败，1 成功，2Createing，3 Validateing 4:waitwebhook**/
    public static final int STATUS_FAILD = 0;
    /**状态0失败，1 成功，2Createing，3 Validateing 4:waitwebhook**/
    public static final int STATUS_SUCCESS = 1;
    /**状态0失败，1 成功，2Createing，3 Validateing 4:waitwebhook**/
    public static final int STATUS_CREATEING = 2;
    /**状态0失败，1 成功，2Createing，3 Validateing 4:waitwebhook**/
    public static final int STATUS_VALIDATEING = 3;
    /**状态0失败，1 成功，2Createing，3 Validateing 4:waitwebhook**/
    public static final int STATUS_WAIT_WEBHOOK = 4;



    /**
     * id
     */

    @Excel(name = "${comment}", readConverterExp = "id")

    private Long id;


    /**
     * 客户号
     */

    @Excel(name = "客户号")

    private String custNo;


    /**
     * 客户邮箱
     */

    @Excel(name = "客户邮箱")

    private String customerEmail;


    /**
     * 客户firstname查ext_resolve表的
     */

    @Excel(name = "客户firstname查ext_resolve表的")

    private String customerFirstName;


    /**
     * 客户lastname查ext_resolve表的
     */

    @Excel(name = "客户lastname查ext_resolve表的")

    private String customerLastName;


    /**
     * 客户手机
     */

    @Excel(name = "客户手机")

    private String customerPhone;


    /**
     * 客户id
     */

    @Excel(name = "客户id")

    private String customerId;


    /**
     * 客户country NG
     */

    @Excel(name = "客户country NG")

    private String customerCountry;


    /**
     * bank_account的account_number
     */

    @Excel(name = "bank_account的account_number")

    private String accountNumber;

    private String bankCode;


    /**
     * 客户code
     */

    @Excel(name = "客户code")

    private String customerCode;


    /**
     * 发送paystack类型
     */

    @Excel(name = "发送paystack类型")

    private String paystackType;


    /**
     * 用户实名表的BVN
     */

    @Excel(name = "用户实名表的BVN")

    private String bvn;


    /**
     * 状态0失败，1 成功，2Createing，3 Validateing
     */

    @Excel(name = "状态0失败，1 成功，2Createing，3 Validateing")

    private Integer status;


    /**
     * 状态
     */

    @Excel(name = "状态")

    private String state;


    /**
     * 备注
     */

    @Excel(name = "备注")

    private String remark;


    /**
     * 创建者
     */

    @Excel(name = "备注")

    private String createBy;


    /**
     * 创建时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "备注", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date createTime;


    /**
     * 更新者
     */

    @Excel(name = "备注")

    private String updateBy;


    /**
     * 更新时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "备注", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date updateTime;
}